home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group02b.txt / 000024_icon-group-sender_Tue Sep 10 07:50:47 2002.msg < prev    next >
Internet Message Format  |  2003-01-02  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id g8AEoiU10589
  4.     for icon-group-addresses; Tue, 10 Sep 2002 07:50:44 -0700 (MST)
  5. Message-Id: <200209101450.g8AEoiU10589@baskerville.CS.Arizona.EDU>
  6. Subject: Re: Using Procedure Names for Debugging
  7. From: Steve Graham <Steve_Graham@labcorp.com>
  8. To: Icon Group <icon-group@cs.arizona.edu>
  9. Date: 10 Sep 2002 08:33:07 -0500
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: RO
  12.  
  13. As a number of you kindly pointed out, the invocable directive needed to
  14. be added to my program to enable this technique with non-builtins.
  15.  
  16. Thanks to all who so quickly responded.
  17.  
  18.  
  19. Steve
  20.  
  21. ===
  22.  
  23. On Mon, 2002-09-09 at 12:35, Steve Graham wrote:
  24. > While developing an Icon program, I wanted an easy way to debug each
  25. > procedure.  I had read that there is more than 1 way to invoke a
  26. > command.  For example, you can have the statement write(5) or you can
  27. > have "write"(5).  I figured that I would use this idea to develop a test
  28. > module, to which I would pass a procedure name and arguments.  The test
  29. > module would in turn invoke the specified procedure as in the 2nd
  30. > example above with the arguments and report back the results, if any. 
  31. > However, I wasn't able to make it work.  I'd bet there is a way,
  32. > though.  Any ideas?
  33. > TIA, Steve
  34. -- 
  35.  
  36. Steve
  37.  
  38. ---------------------------------------------------------------------------------------
  39. Steve Graham
  40. Lead Project Analyst/Engineer
  41. LabCorp
  42.  
  43. Phone:    (972) 643-6124
  44. Fax:    (972) 454-1050
  45. Mail:    Steve_Graham@labcorp.com
  46. ---------------------------------------------------------------------------------------
  47.  
  48.